<template>
    <div>

<div class="z-top-container" id="bili-header-container" data-v-app="">
<div class="bili-header">
<div class="bili-header__bar mini-header">

<ul class="left-entry">
  <li class="v-popover-wrap">
    <a href="#/" target="_blank" class="left-entry__title">
<div class="mini-header__title">
<span>首页</span>
</div>
    </a>
 </li>
 <li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span>小说</span></a></li>
 <li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span>动态</span></a></li>
  <li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span>none</span></a></li>
   <li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span>none</span></a></li>
    <li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span>none</span></a></li>
     <li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span>none</span></a></li>
</ul>

 <ul class="right-entry">
  <li class="v-popover-wrap">
    <div data-v-35889324="" class="css-navSearchWrapper-SmTKa" style="width: 108px;"><input data-v-35889324="" placeholder="搜索" id="headernavk" type="text" data-name="PIT Minor" data-type="1" autocomplete="off" name="kw" class="css-navSearchInput-hcAgF"> <span data-v-35889324="" class="css-navSearchIcon-byBLe"><svg data-v-35889324="" fill="rgba(0,0,0,.4)" viewBox="0 0 32 32" id="search_13586fe" width="100%" height="100%"><title data-v-35889324="">search</title><path data-v-35889324="" d="M14.933 25.6c5.891 0 10.667-4.776 10.667-10.667s-4.776-10.667-10.667-10.667c-5.891 0-10.667 4.776-10.667 10.667s4.776 10.667 10.667 10.667zM26.894 23.877l3.491 3.491c0.833 0.833 0.833 2.184 0 3.017s-2.184 0.833-3.017 0l-3.491-3.491c-2.493 1.867-5.589 2.973-8.943 2.973-8.247 0-14.933-6.686-14.933-14.933s6.686-14.933 14.933-14.933c8.247 0 14.933 6.686 14.933 14.933 0 3.354-1.106 6.45-2.973 8.943z"></path></svg></span></div>
  </li>
<li class="v-popover-wrap">
  <a data-v-35889324="" class="css-navRightItemAvatar-Dhkpn"><img data-v-35889324="" src="https://apic.douyucdn.cn/upload/avatar_v3/202204/cd1144479be24f3d8024194ef381ded7_middle.jpg" width="100%" height="100%"></a>
</li>
<!-- 空闲 -->
<li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span></span></a></li>
<li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span></span></a></li>
<li class="v-popover-wrap"><a  target="_blank" class="default-entry"><span></span></a></li>
<!--  -->
 </ul>
</div>
</div>
</div>



<div id="app" class="main-container clearfix" style="width: 988px; padding-left: 0px;">
<div class="plp-l">

   <video autoplay="autoplay" loop="loop" id="video" x-webkit-airplay="true" webkit-playsinline="true" :src="src1"
                    style=" height: 400px;" controls muted>
                    <!-- <source :src="src1" type="video/mp4"> -->
                </video>
    <div id="media_module" class="media-info clearfix report-wrap-module">
<a  target="_blank" class="media-cover">
<img class="img1" :src="picture" alt="">
</a>
<div class="media-right">
<a  target="_blank" title="间谍过家家" class="media-title">{{name}}</a>
<div class="pub-wrapper">
    <a  target="_blank" class="home-link">{{type}}</a>
    <span class="pub-info">{{episode}}</span>
</div>
<div><a  target="_blank" id="jianjie1"  class="media-desc webkit-ellipsis">
    <!-- <span class="absolute">一直过着贫困生活的高中二年级学生·上杉风太郎，找到了一份条件非常好的家庭教师兼职。然而，要教导的学生居然是同级生！而且还是五胞胎！！虽然都是美少女，但同时也是“将要留级”、“讨厌学习”的问题学生们！最开始的任务就是要取得这些女孩们的信任……！？每天都热闹喧嚣！
中野家的五姐妹所带来的可爱度500%的五个不一样的恋爱喜剧，就此开幕！！</span> -->
<span>{{detail}}</span>
<i style="" class="i1" @click="open" id="i1">展开</i>
<i  class="i2" @click="close" id="i2" style="display: none;">收起</i>
</a></div>

<div class="media-rating"><h4 class="score">{{score}}</h4>
<!-- <p class="p">6万人评分</p> -->
</div>
</div>
    </div>


<div class="split-line"></div>
<div id="comment_module" class="comment-wrapper common report-wrap-module report-scroll-module" style="display:;" scrollshow="true">
<div class="b-head"><span class="results">45479  </span><span>评论</span></div>
<div class="comm" style="position: relative;">
    <div class="bb-comment ">
        <div class="comment-send ">
<div class="user-face">
<div class="bili-avatar" style="width: 48px;height:48px;transform: translate(0px, 0px);">
<img class="bili-avatar-img bili-avatar-face bili-avatar-img-radius" :src="user.picture" alt="">
</div>
</div>

<div class="textarea-container">
    <i class="ipt-arrow"></i><textarea cols="80" name="msg" rows="5" placeholder="发一条友善的评论" class="ipt-txt" v-model="comment_text">
        </textarea>
        <button type="submit" class="comment-submit" @click="submit">发表评论</button>
    </div>
        </div>

        <div mr-observe-wrap="" class="comment-list " v-for="(ele,i) in comment">
<div mr-show="{&quot;msg&quot;:{&quot;type&quot;:1,&quot;oid&quot;:40391547},&quot;evt&quot;:&quot;replyCardShow.show.0&quot;}" class="list-item reply-wrap " data-id="1295324394" data-index="0" scrollshow="true">
    <div class="user-face">
     <a  target="_blank" data-usercard-mid="118137">
    <div class="bili-avatar" style="width: 48px;height:48px;transform: translate(0px, 0px);">

<img class="bili-avatar-img bili-avatar-face bili-avatar-img-radius" :src="ele.url" alt="">
      <span class="bili-avatar-icon bili-avatar-right-icon  bili-avatar-size-48"></span>
    </div>
  </a>
    </div>

    <div class="con " >
<div class="user">
<a data-usercard-mid="118137"  target="_black" class="name" style="color:">{{ele.name}}</a>
<a class="level-link"  target="_blank">LV{{ele.level}}</a>
</div>
<p class="text">{{ele.text}}</p>
<div class="info">
<span class="time-location"><span class="reply-time">{{ele.time}}</span></span>
<span class="like "><i class="i4"></i><span>{{ele.like}}</span></span>
<span class="hate "><i class="i5"></i></span>
<span class="reply btn-hover btn-highlight">回复</span>
<div class="operation more-operation" @click="more(i)" @mouseleave="lea"><div class="spot"></div><div   id="opera-list" class="opera-list" style="display: none;"><ul class="ul1"><li class="blacklist">加入黑名单</li><li class="report">举报</li></ul></div></div>
</div>
<!-- 评论回复-->
<!-- <div class="reply-box">
<div class="reply-item reply-wrap" data-id="3931454551" data-index="0">
    <a data-usercard-mid="1465303" target="_blank" class="reply-face" style="top: 0px;">
    <div class="bili-avatar" style="width: 24px;height:24px;">

<img class="bili-avatar-img bili-avatar-face bili-avatar-img-radius" src="https://i1.hdslb.com/bfs/face/d732d3ba65cd630d6f85f1320b21370b9c597376.gif@96w_96h_1c_1s.webp" alt="">
 <span class="bili-avatar-icon bili-avatar-right-icon  bili-avatar-size-24"></span>
    </div>
  </a>
<div class="reply-con"><div class="user"><a data-usercard-mid="1465303"  target="_black" class="name" >辉夜酱-_-</a><a class="level-link"  target="_blank"></a>
<a class="level-link"  target="_blank">
    LV2
    </a>
    <span class="text-con">  工作后还在看高中生

        </span></div></div>

</div>
</div> -->
    </div>
</div>
        </div>
    </div>
</div>
</div>
</div>
<div class="plp-r">
<div id="paybar_module" class="pay-bar report-wrap-module"><!----> <!----> <div class="vip"><a href="javascript:;" class="btn-pay active">会员专享观看特权哦~</a><!----></div> <!----> <!----> <!----></div>
<div id="eplist_module" class="ep-list-wrapper report-wrap-module">
<div class="list-title clearfix">
<h4 title="正片" class="h4">正片</h4>
</div>
<div class="list-wrapper simple" style="" >
<div class="clearfix" style="height: 142px;" >
<li report-id="click_ep" class="ep-item cursor visited" style="top: 4px; left: 0px;" v-for="ele in list">
    <a   @click="click2(ele)"><span title="1" class="ep-title" >{{ele}}</span></a></li>
<!-- <li report-id="click_ep" class="ep-item cursor visited" style="top: 4px; left: 0px;" ><a href="/bangumi/play/ep259083/" target=""><span title="1" class="ep-title">1</span></a></li> -->

</div>
</div>
</div>
</div>
</div>


    </div>
</template>
<script>
window.addEventListener("beforeunload", (e) => {
  window.scroll(0, 0);
});
import axios from 'axios'
export default {
    data() {
      return {
        user:{
            id:'',
            picture:''
        },
        comment_text:'',

        comment:[],
        detail:'',
        picture:'',
        name:'',
        episode:'连载中',
        type:'番剧',
        score:'9.71',

        list:[],
        list1:[],
        src1:'',
}
    },

    created(){
this.receive();
this.iflogin1();
this.findComment()

    },
    methods:{
        // 发表评论
        submit(){

            let url='http://localhost:8098/submitcomment';
            console.log(this.user.id)
            let params={
                cartoonname:this.$route.query.id,
                userId:this.user.id,
                comment:this.comment_text
            }
            axios.post(url,params).then(resp=>{
               let result= resp.data;
               if(result.code===200){

this.findComment();
this.comment_text=undefined;
                     this.$message({
            showClose: true,
          message: result.errorMessage,
          type: 'success'
        });

               }else{
                this.$message({
            showClose: true,
          message: result.errorMessage,
          type: 'error'
        });
               }
            })
        },
        // 所有评论
        findComment(){
            let url='http://localhost:8098/findComment';
            let param={
                cartoonname:this.$route.query.id,
            }
            axios.post(url,param).then(resp=>{
                let result=resp.data;
                this.comment=result.data
            })
        },
        click2(ele){
            let params={
                cartoonname:this.$route.query.id,
                num:ele
            };
             let url='http://localhost:8098/getcartoonnum'
             axios.post(url,params).then(resp=>{
                let result=resp.data;
            localStorage.setItem(this.name,params.num)
                this.src1=result.data;
             })
        },
        lea(){
            let opera=document.getElementById("opera-list")
            opera.style.display="none"
        },
        // click3(ele){
        //     this.click2(ele);
        //     this.click2(ele);
        // },
        receive(){
            let url='http://localhost:8098/getcartoon'
             let param = `cartoonname=${this.$route.query.id}`;
            axios.post(url,param).then(resp=>{
                const result=resp.data;
                const list2=result.data;

                for(let i=1;i<result.data.length;i++){
                    if(i==result.data.length-1){
this.list1+=list2[i]
                    }else{
        this.list1+=list2[i]+","
                    }

                }
                if(localStorage.getItem(this.name)==null){
                this.src1= result.host;

                }


                this.name=list2[0].name;
                 this.list=this.list1.split(",");
                 this.detail=list2[0].detail;
                 this.type=list2[0].type;
                 this.score=list2[0].score;
                 this.episode=list2[0].episode;
                this.picture=list2[0].picture;

            })

console.log(this.src1+",")
if(localStorage.getItem("flushcartoon")==null){
    window.location.reload();
    localStorage.setItem("flushcartoon",1)
  }else{
    localStorage.removeItem("flushcartoon")
  }

        },

        open(){
            let open1=document.getElementById("jianjie1");
            let i1=document.getElementById("i1")
            i1.style.display="none"
            open1.className="media-desc"
            let i2=document.getElementById("i2")
            i2.style.display="block"
        },
         close(){
            let open1=document.getElementById("jianjie1");
            let i1=document.getElementById("i1")
            i1.style.display="block"
            open1.className="media-desc webkit-ellipsis"
            let i2=document.getElementById("i2")
            i2.style.display="none"
        },
        more(i){
            console.log(i)
            let opera=document.getElementById("opera-list")
            opera.style.display="block"
        },
        iflogin1() {

        let url='http://localhost:8098/iflogin';
        let param = `token=${localStorage.getItem("token")}`;
        axios.post(url,param).then(resp=>{
          let result=resp.data;
          if(result.code===200){
          this.user.id=result.data.id
            this.user.picture=result.data.picture
          }else{
           this.$router.push("/login")
        this.$message({
            showClose: true,
          message: '未登录或者登录过期，请先登录',
          type: 'error'
        });

          }
        })
        // alert(123)

},

    }
    }
</script>
<style scoped>
.bili-avatar-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.bili-avatar-img {
    display: block;
        width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    vertical-align: middle;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}
.reply-item {
    padding: 10px 0;
}
.reply-face {
    outline: none;
    color: #00a1d6;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    margin-right: 10px;
    vertical-align: top;
}
.bili-avatar {
    display: block;
    position: relative;
    background-image: url();
    background-size: cover;
    border-radius: 50%;
    margin: 0;
    padding: 0;
}
/* 右侧 */
.ep-title {
        font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 36px;
    line-height: 36px;
    display: block;
}
.ep-item{
    margin-bottom: 7px;
    -webkit-box-flex: 0;
    flex: 0 0 calc(14.29% - 17.14px);
    width: calc(14.29% - 17.14px);
    margin-right: 7px;
    margin-left: 0px;
    transition: flex .3s,-webkit-box-flex .3s,-ms-flex .3s;
    border-radius: 37px;
        border-color: #ffffff;
    background-color: #ffffff;
    color: rgb(255, 255, 255);
    float: left;
    width: 64px;
    height: 36px;
    border: 1px solid #e5e9ef;
    padding: 0;
    text-align: center;
    transition: none;
    overflow: visible;
    opacity: 1;
    position: flex;
    display: block;
        border-radius: 2px;
            text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.cursor {
    border-color: #ffffff;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}
.clearfix{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    padding: 0;
    margin-top: 0px;
        position: relative;
}
.list-wrapper {
    position: relative;
    padding: 0 0 6px 16px;
    display: block;
    overflow: auto;
}
.h4 {
    margin: 0;
    float: left;
    height: 42px;
    line-height: 42px;
    font-size: 16px;
    color: #212121;
    font-weight: 400;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
 .list-title {
    height: 42px;
    padding: 0 16px;
}
.ep-list-wrapper {
    position: relative;
    background-color: #f4f4f4;
    border-radius: 2px;
    margin-bottom: 20px;
}
.btn-pay{
    text-decoration: none;
    display: block;
    height: 100%;
    text-align: center;
    border-radius: 2px;
    font-size: 16px;
    transition: all .3s ease;
  box-sizing: border-box;
    border: 1px solid #e7e7e7;
    line-height: 42px;
    color: #999;
    background-color: #fff!important;
    cursor: default;
}
.active {
    box-sizing: border-box;
    border: 1px solid #e7e7e7;
    line-height: 42px;
    color: #999;
    background-color: #fff!important;
    cursor: default;
}
.vip {
    position: relative;
    height: 44px;
}
.pay-bar {
    position: relative;
    height: 44px;
    margin-bottom: 20px;
}
.plp-r {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
}
/*  */
/* 视频 */
.blacklist{
        padding: 0px 15px;
    cursor: pointer;
    height: 36px;
    line-height: 36px;
    transition: all 0.3s;
}
.report{
  margin: 0;
    padding: 0px 15px;
    cursor: pointer;
    height: 36px;
    line-height: 36px;
    transition: all 0.3s;

}
.ul1{
    margin: 0;
    padding: 0;
    list-style: none;
}
.opera-list {
    display: none;
    position: absolute;
    width: 120px;
    right: 0;
    top: 20px;
    background: #fff;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    border-radius: 4px;
    color: #222;
    font-size: 14px;
    padding: 10px 0;
    z-index: 999;
}
.spot {
    width: 18px;
    height: 18px;
    cursor: pointer;
    background: url(//s1.hdslb.com/bfs/seed/jinkela/commentpc/static/img/icons-comment.2f36fc5.png) no-repeat;
    background-position: -151px -280px;
}
.operation {
    position: relative;
    width: 18px;
    float: right;
    margin-top: 5px;
    margin-right: 0;
}
.btn-hover {
    padding: 0 5px;
    border-radius: 4px;
    margin-right: 15px;
    cursor: pointer;
    display: inline-block;
}
.i5{
        display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: text-top;
    margin-right: 5px;
    background: url(//s1.hdslb.com/bfs/seed/jinkela/commentpc/static/img/icons-comment.2f36fc5.png) no-repeat;
    background-position: -153px -153px;
}
.hate {
    cursor: pointer;
    margin-right: 15px;
}
.i4{
        display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: text-top;
    margin-right: 5px;
    background: url(//s1.hdslb.com/bfs/seed/jinkela/commentpc/static/img/icons-comment.2f36fc5.png) no-repeat;
    background-position: -153px -25px;

}
.like {
    margin-right: 15px;
    cursor: pointer;
}
.time-location{
    margin-right: 20px;
}
.info {
    text-align: left;
    color: #99a2aa;
    line-height: 14px;
    margin-top: 6px;
    font-size: 12px;
}
.text {
    text-align: left;
    position: relative;
    z-index: 2;
    line-height: 20px;
    padding: 2px 0;
    font-size: 14px;
    text-shadow: none;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}
.level-link {
    outline: none;
    color: #00a1d6;
    text-decoration: none;
    cursor: pointer;
    margin-left: 8px;
}
.name {

    color: #6d757a;
        vertical-align: middle;
            outline: none;
            text-decoration: none;
    cursor: pointer;

}
 .user {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    padding-bottom: 4px;
    display: block;
    word-wrap: break-word;
    position: relative;
    z-index: 3;
}
 .con {
    position: relative;
    margin-left: 85px;
    padding: 22px 0 14px 0;
    border-top: 1px solid #e5e9ef;
}
.comment-send {
    padding-top: 15px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    margin-bottom: 30px;

}
.comment-list {
    padding-top: 20px;
}
.comment-submit {
    width: 70px;
    height: 64px;
    position: absolute;
    right: -80px;
    top: 0;
    padding: 4px 15px;
    font-size: 14px;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    min-width: 60px;
    vertical-align: top;
    cursor: pointer;
    background-color: #00a1d6;
    border: 1px solid #00a1d6;
    transition: 0.1s;
    user-select: none;
    outline: none;
}
.ipt-txt {
    font-size: 12px;
    display: inline-block;
    box-sizing: border-box;
    background-color: #f4f5f7;
    border: 1px solid #e5e9ef;
    overflow: auto;
    border-radius: 4px;
    color: #555;
    width: 100%;
    height: 65px;
    transition: 0s;
    padding: 5px 10px;
    line-height: normal;
    outline: none;
}
textarea {

    resize: none;
}
.ipt-arrow {
    position: absolute;
    left: -12px;
    top: 22px;
    background: url(//s1.hdslb.com/bfs/seed/jinkela/commentpc/static/img/icons-comment.2f36fc5.png) -395px -340px no-repeat;
    width: 13px;
    height: 20px;
    display: inline-block;
    z-index: 2;
}
.textarea-container {
    position: relative;
    margin-left: 85px;
    margin-right: 80px;
}
.bili-avatar-img-radius {
    border-radius: 50%;
}
.bili-avatar-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}
.bili-avatar-img {
        border: none;
    vertical-align: middle;
    display: block;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}
.bili-avatar {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
        display: block;
    /* background-image: url(); */
    background-size: cover;
    border-radius: 50%;
    padding: 0;
}
.user-face {
    position: absolute;
    width: 82px;
    height: 65px;
}

.bb-comment {
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
    font-size: 0;
    zoom: 1;
    min-height: 100px;
    background: #fff;
}
 .b-head {
    text-align: left;
    font-size: 18px;
    line-height: 24px;
    color: #222;
    margin-bottom: 20px;
}
 .comment-wrapper {
    padding-top: 20px;
}
.p {
    text-align: left;
    height: 16px;
    line-height: 16px;
    font-size: 12px;
    color: #999;
}
 .score {
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    text-align: left;
    position: relative;
    height: 24px;
    line-height: 24px;
    font-weight: 700;
    font-size: 24px;
    color: #ffa726;
    margin-bottom: 4px;
    font-family: HelveticaNeue-Bold;
    padding-right: 14px;
    display: inline-block;
}
.media-rating {
    padding: 0;
    text-align: left;
    margin-top: 0px;
}
.media-desc {
    position: relative;
    font-size: 12px;
    color: #212121;
    min-height: 18px;
    line-height: 18px;
}
.webkit-ellipsis {
    display: -webkit-box!important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-wrap: break-word!important;
    word-break: break-word!important;
    white-space: normal!important;
    overflow: hidden!important;

    text-overflow: ellipsis!important;
}
.i2{
    position: absolute;
    padding-left: 12px;
    right: -100px;

    bottom: -2px;
        display: inline-block;
    vertical-align: top;
        height: 18px;
    line-height: 18px;
    text-align: right;
    color: #00a1d6;
    background-color: #fff;
    font-style: normal;
    cursor: pointer;
    z-index: 3;
}
.i1{
    position: absolute;
    padding-left: 12px;
    right: 0;
    display: block;
    bottom: -2px;
        display: inline-block;
    vertical-align: top;
        height: 18px;
    line-height: 18px;
    text-align: right;
    color: #00a1d6;
    background-color: #fff;
    font-style: normal;
    cursor: pointer;
    z-index: 3;
}
.absolute {
    text-align:left;
    position: absolute;
    display: inline-block;
    vertical-align: top;
    top: 0;
    left: 0;
    right: 0;
    line-height: 18px;
    opacity: 0;
    z-index: 2;
    white-space: pre-line;
}
.pub-info {
    line-height: 16px;
    margin-right: 10px;
    vertical-align: middle;
}
.home-link {
    vertical-align: middle;
    height: 16px;
    line-height: 16px;
    margin-right: 10px;
    color: #212121;
    cursor: pointer;
}
.pub-wrapper {
    text-align:left;
    margin-left: 0px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #212121;
}
.media-title {
    text-decoration: none;
    display: block;
    text-align:left;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    color: #212121;
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 16px;
    padding-right: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.media-right {
    position: relative;
    padding-left: 150px;
    height: 100%;
    z-index: 1;
}
.img1 {
    display: block;
    width: 100%;
    height: 100%;
}
 .media-cover {
    position: relative;
    display: block;
    float: left;
    width: 134px;
    height: 179px;
    z-index: 2;
    border-radius: 2px;
    overflow: hidden;
    background-color: #f4f5f7;
}
.media-info {
    border-top: 1px solid #e7e7e7;
    padding: 16px 0;
}
.plp-l {
    width: 100%;
}
.split-line {
    border-top: 1px solid #e5e9ef;
}
video {
    display: block;
    margin: auto;
    width: 100%;
    height: 100%;
    content-visibility: visible;
}

.main-container {
    position: relative;
    margin-right: auto;
    margin-bottom: 108px;
    margin-left: auto;
    max-width: 1660px;
    min-width: 1065px;
    margin-top: 100px;
    padding-right: 350px;
    box-sizing: border-box;
}
/*  */
/* 导航 */

.css-navSearchInput-hcAgF {
    float: left;
    height: 34px;
    line-height: 36px;
    font-size: 12px;
    background: none;
    border: none;
    outline: 0;
    width: 80%;

    color:rgba(34, 31, 31, 1);
}
.css-navSearchIcon-byBLe {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.css-navSearchWrapper-SmTKa {
    position: relative;
    padding: 0 16px;
    height: 39px;
    border-radius: 100px;
    background: #eceaea;
    margin: 0px 8px 0 0;
    -webkit-transition: width 0.2s;
    transition: width 0.2s;

/* background:rgba(255, 255, 255, 0.5); */
}
.css-navRightItemAvatar-Dhkpn{

    text-align: center;
    font-size: 16px;
    color: rgb(255, 255, 255);
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 6px;
    background-color: rgb(255, 255, 255);
}
.right-entry {
    margin-left: 20px;
    display: flex;
    align-items: center;
    list-style-type: none;
}
.default-entry {
    display: inline-block;
        height: 64px;
    line-height: 64px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 25px;
    }
a {
    text-decoration: none;
    background-color: transparent;
}
.left-entry__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 25px;
    height: 56px;
}
.v-popover-wrap {
    position: relative;
}
.mini-header__title {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    color: rgb(0, 0, 0);
}
.left-entry {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 5px;
    list-style-type: none;
}
.mini-header {
    background: var(--bg1);
    box-shadow: 0 2px 4px #00000014;
}
.bili-header__bar {
    position: absolute;
    top: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0px;
    max-width: 2560px;
    width: 100%;
    height: 64px;
}
.bili-header {
        position: fixed;
    top: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0px;
    max-width: 2560px;
    width: 100%;
    height: 64px;
    background-color: #fff;
    padding-bottom: 5px;
    margin-left: -8px;
}
</style>
